package com.ailesson.video.model.reply;


import java.io.Serializable;
import java.time.LocalDateTime;

import lombok.Data;
import io.swagger.v3.oas.annotations.media.Schema;

/**
 * 课程科目
 * 
 * @author mac
 * @email mac@gmail.com
 * @date 2024-09-30 23:08:10
 */
@Schema(name = "返回值")
@Data
public class SubjectReply implements Serializable{
	private static final long serialVersionUID = 1L;

	/**
	 * 主键
	 */
	@Schema(name = "id", description = "主键", type = "Long")
    private Long id;
	/**
	 * 类别名称
	 */
	@Schema(name = "title", description = "类别名称", type = "String")
    private String title;
	/**
	 * 父ID
	 */
	@Schema(name = "parentId", description = "父ID", type = "Long")
    private Long parentId;
	/**
	 * 排序字段
	 */
	@Schema(name = "sort", description = "排序字段", type = "Integer")
    private Integer sort;
	/**
	 * 创建时间
	 */
	@Schema(name = "createTime", description = "创建时间", type = "LocalDateTime")
    private LocalDateTime createTime;
	/**
	 *
	 */
	@Schema(name = "updateTime", description = "", type = "LocalDateTime")
    private LocalDateTime updateTime;
	/**
	 * 创建人
	 */
	@Schema(name = "creator", description = "创建人", type = "String")
    private String creator;
	/**
	 * 更新人
	 */
	@Schema(name = "updater", description = "更新人", type = "String")
    private String updater;

	/**
	 * 是否子节点
	 */
	@Schema(name = "hasChildren", description = "是否子节点", type = "boolean")
	private Boolean hasChildren;

}
